<template>
  <div>
    <div>
      <h4>认知心理</h4>
      <el-row>
        <el-col :span="6">
          <div>
            <span>意识状态 </span>
            <el-select v-model="pgForm.yszt" placeholder="请选择" style="width: 40%">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>理解能力 </span>
            <el-select v-model="pgForm.ljnl" placeholder="请选择" style="width: 40%">
              <el-option
                v-for="item in options2"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>心理阶段 </span>
            <el-select v-model="pgForm.xljd" placeholder="请选择" style="width: 40%">
              <el-option
                v-for="item in options3"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>配合程度 </span>
            <el-select v-model="pgForm.phcd" placeholder="请选择" style="width: 40%">
              <el-option
                v-for="item in options4"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>情绪控制能力 </span>
            <el-select v-model="pgForm.qxkznl" placeholder="请选择" style="width: 40%">
              <el-option
                v-for="item in options5"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "understand_psychological",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      options1: [{
        value: '0',
        label: '昏迷',
      }, {
        value: '1',
        label: '瞌睡',
      }, {
        value: '2',
        label: '正常',
      }],
      options2: [{
        value: '0',
        label: '消极',
      }, {
        value: '1',
        label: '一般',
      }, {
        value: '2',
        label: '积极',
      }],
      options3: [{
        value: '0',
        label: '否认',
      }, {
        value: '1',
        label: '愤怒',
      }, {
        value: '2',
        label: '烦躁',
      }, {
        value: '3',
        label: '期望',
      }, {
        value: '4',
        label: '抑郁',
      }, {
        value: '5',
        label: '承受',
      }],
      options4: [{
        value: '0',
        label: '消极',
      }, {
        value: '1',
        label: '一般',
      }, {
        value: '2',
        label: '积极',
      }],
      options5: [{
        value: '0',
        label: '正常',
      }, {
        value: '1',
        label: '尚可',
      }, {
        value: '2',
        label: '差',
      }, {
        value: '3',
        label: '强哭',
      }, {
        value: '4',
        label: '强笑',
      }, {
        value: '5',
        label: '其他',
      }],
      pgForm: {
        yszt: '',
        ljnl: '',
        xljd: '',
        phcd: '',
        qxkznl: ''

      }

    }
  }
}
</script>

<style scoped>

.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
}
.el-col {
  margin:10px 0;
}
</style>
